package com.xinzhidi.web.equipmentAlarm.domain.vo;

import com.xinzhidi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;


/**
 * 设备告警InfoVo对象 equipment_alarm
 *
 * @author ruoyi
 * @date 2023-05-31
 */
@ApiModel(value = "设备告警InfoVo对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class EquipmentAlarmInfoVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备告警id")
    private Long id;

    @ApiModelProperty(value = "小区id")
    private Long plotId;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "住户id")
    private Long householdId;

    @ApiModelProperty(value = "设备id")
    private Long equipmentId;

    @ApiModelProperty(value = "告警设置id")
    private Long alarmSettingId;

    @ApiModelProperty(value = "是否推送（0：推送  1：不推送  默认0）")
    private Integer hideOrPush;

    @ApiModelProperty(value = "状态（0：未处理  1：已处理 ）")
    @Excel(name = "状态", readConverterExp = "0=：未处理,1=：已处理")
    private String status;

    @ApiModelProperty(value = "最近一次推送时间")
    private LocalDateTime lastSendTime;

}
